﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace AutomationAdmin.ViewModels
{
    public class AutomationApp
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public string Descr { get; set; }
        public string Region { get; set; }
        public string Sector { get; set; }
        
        //public static bool operator !=(AutomationApp a, AutomationApp b)
        //{
        //    return !(a == b);
        //}

        //public static bool operator ==(AutomationApp a, AutomationApp b)
        //{
        //    if (object.ReferenceEquals(a, b))
        //    {
        //        return true;
        //    }

        //    if ((object)a == null || (object)b == null)
        //        return true;

        //    if ((object)a != null)
        //        return a.Equals(b);

        //    return b.Equals(a);
        //}

        //public override bool Equals(object obj)
        //{
        //    AutomationApp target = obj as AutomationApp;

        //    if ((object)target == null)
        //        return false;

        //    if (target.Id < 0)
        //        return false;

        //    return target.Id == this.Id;
        //}

        //public override int GetHashCode()
        //{
        //    if (this.Id >= 0)
        //        return this.Id;

        //    return base.GetHashCode();
        //}
    }
}
